#if !defined(AFX_EXCEPTIONCFG_H__E0F6EE26_58DA_4558_B627_BA6151F9CB17__INCLUDED_)
#define AFX_EXCEPTIONCFG_H__E0F6EE26_58DA_4558_B627_BA6151F9CB17__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ExceptionCFG.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CExceptionCFG dialog

class CExceptionCFG : public CDialog
{
// Construction
public:
	CExceptionCFG(CWnd* pParent = NULL);   // standard constructor
	LONG	m_lServerID;
	DWORD	m_dwAlarmOutNum;
	NET_DVR_EXCEPTION m_ExceptionInfo;
	BOOL m_bSetPara;
	BOOL	m_bConnectServer;
	int		m_SelType;
	
	void EnableControl(BOOL bEnable);
// Dialog Data
	//{{AFX_DATA(CExceptionCFG)
	enum { IDD = IDD_SUBDLG_EXCEPTION };
	CComboBox	m_ExceptionCtrl;
	BOOL	m_bHandleType1;
	BOOL	m_bHandleType2;
	BOOL	m_bHandleType3;
	BOOL	m_bHandleType4;
	BOOL	m_bAlarmOut1;
	BOOL	m_bAlarmOut2;
	BOOL	m_bAlarmOut3;
	BOOL	m_bAlarmOut4;
	//}}AFX_DATA
	afx_msg void OnButok();


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CExceptionCFG)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CExceptionCFG)
	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	virtual void OnOK();
	afx_msg void OnButexit();
	afx_msg void OnCheckhandletype4();
	afx_msg void OnSelchangeComexception();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EXCEPTIONCFG_H__E0F6EE26_58DA_4558_B627_BA6151F9CB17__INCLUDED_)
